package com.xfcy.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xfcy.blog.entity.UserAuth;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户信息表(UserAuth)表数据库访问层
 *
 * @author 晓风残月Lx
 * @since 2023-04-09 11:03:06
 */
@Repository
public interface UserAuthMapper extends BaseMapper<UserAuth> {

    UserAuth getByUserId(@Param("userId") Integer userId);

    void deleteByUserIds(@Param("ids") List<Integer> ids);

    List<String> getAvatarByIds(@Param("ids") List<Integer> ids);
}

